package cn.gogpay.dcb.api.feign.reponse;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.annotation.JSONField;
import org.hibernate.annotations.GenericGenerator;
import org.springframework.data.jpa.domain.support.AuditingEntityListener;

import javax.persistence.*;
import java.time.LocalDateTime;

/**
 * 驾驶证信息（许昌境内）
 *
 * @author zhanglong@gogpay.cn
 * @date 2020/1/7 20:09
 */
public class DrivingCard {

    private String id;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    /**
     * 用户编号
     */
    private String userId;

    /**
     * 档案编号
     */
    private String dabh;
    /**
     * 身份证号码
     */
    private String sfzmhm;
    /**
     * 初次领证日期
     */
    private String cclzrq;
    /**
     * 驾证期限
     */
    private String jzqx;
    /**
     * 有效期始
     */
    private String yxqs;
    /**
     * 驾驶证状态
     */
    private String zt;
    /**
     * 行政区划
     */
    private String xzqh;
    /**
     * 发证日期
     */
    private String fzrq;
    /**
     * 发证机关
     */
    private String fzjg;
    /**
     * 备注
     */
    private String bz;
    /**
     * 证芯编号
     */
    private String zxbh;
    /**
     * 姓名
     */
    private String xm;
    /**
     * 性别1男2女
     */
    private String xb;
    /**
     * 出生日期
     */
    private String csrq;
    /**
     * 国籍;
     */
    private String gj;
    /**
     * 登记住所行政区划
     */
    private String djzsxzqh;
    /**
     * 登记住所详细地址
     */
    private String djzsxxdz;
    /**
     * 准驾车型
     */
    private String zjcx;
    /**
     * 身份证明名称
     */
    private String sfzmmc;
    /**
     * 注销日期
     */
    private String zxrq;
    /**
     * 编号
     */
    private String bh;

    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public String getDabh() {
        return dabh;
    }

    public void setDabh(String dabh) {
        this.dabh = dabh;
    }

    public String getSfzmhm() {
        return sfzmhm;
    }

    public void setSfzmhm(String sfzmhm) {
        this.sfzmhm = sfzmhm;
    }

    public String getCclzrq() {
        return cclzrq;
    }

    public void setCclzrq(String cclzrq) {
        this.cclzrq = cclzrq;
    }

    public String getJzqx() {
        return jzqx;
    }

    public void setJzqx(String jzqx) {
        this.jzqx = jzqx;
    }

    public String getYxqs() {
        return yxqs;
    }

    public void setYxqs(String yxqs) {
        this.yxqs = yxqs;
    }

    public String getZt() {
        return zt;
    }

    public void setZt(String zt) {
        this.zt = zt;
    }

    public String getXzqh() {
        return xzqh;
    }

    public void setXzqh(String xzqh) {
        this.xzqh = xzqh;
    }

    public String getFzrq() {
        return fzrq;
    }

    public void setFzrq(String fzrq) {
        this.fzrq = fzrq;
    }

    public String getFzjg() {
        return fzjg;
    }

    public void setFzjg(String fzjg) {
        this.fzjg = fzjg;
    }

    public String getBz() {
        return bz;
    }

    public void setBz(String bz) {
        this.bz = bz;
    }

    public String getZxbh() {
        return zxbh;
    }

    public void setZxbh(String zxbh) {
        this.zxbh = zxbh;
    }

    public String getXm() {
        return xm;
    }

    public void setXm(String xm) {
        this.xm = xm;
    }

    public String getXb() {
        return xb;
    }

    public void setXb(String xb) {
        this.xb = xb;
    }

    public String getCsrq() {
        return csrq;
    }

    public void setCsrq(String csrq) {
        this.csrq = csrq;
    }

    public String getGj() {
        return gj;
    }

    public void setGj(String gj) {
        this.gj = gj;
    }

    public String getDjzsxzqh() {
        return djzsxzqh;
    }

    public void setDjzsxzqh(String djzsxzqh) {
        this.djzsxzqh = djzsxzqh;
    }

    public String getDjzsxxdz() {
        return djzsxxdz;
    }

    public void setDjzsxxdz(String djzsxxdz) {
        this.djzsxxdz = djzsxxdz;
    }

    public String getZjcx() {
        return zjcx;
    }

    public void setZjcx(String zjcx) {
        this.zjcx = zjcx;
    }

    public String getSfzmmc() {
        return sfzmmc;
    }

    public void setSfzmmc(String sfzmmc) {
        this.sfzmmc = sfzmmc;
    }

    public String getZxrq() {
        return zxrq;
    }

    public void setZxrq(String zxrq) {
        this.zxrq = zxrq;
    }

    public String getBh() {
        return bh;
    }

    public void setBh(String bh) {
        this.bh = bh;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }
}
